﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="Theme/Css/over.css" type="text/Css" rel="stylesheet" />
    <link href="Theme/Css/ShowStyle.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="Scripts/jquery-2.0.3.min.js"></script>
    <script src="Scripts/ShareData.js" type="text/javascript"></script>    
    <link href="over.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript">
        $(document).ready(function () {
            getPage(share.data("SelectedArticleId"));
        });
        function getPage(pageId) {
            $.ajax({
                //方法所在页面和方法名   
                url: "BlueHomeHandler.ashx?method=Getpage&pageId=" + pageId,
                contentType: "application/json",
                dataType: "json",
                success: function (data) {
                    //返回的数据用data.d获取内容                  
                    //total_q=data.d;
                    //var xx =/*@cc_on @*/@Html.Raw(data.ResponseData.Content1);
                    var words = data.ResponseData.Content1;
                    $("#pagespan").html(words);
                    $("#Title").text(data.ResponseData.Title);
                    $("#Author").text(data.ResponseData.Author);
                    $("#SubTime").text(data.ResponseData.CreateDateTime);
                    $("#Count").text(data.ResponseData.Count);
                    for (var i = 0; i < data.ResponseData.AboutArticles.length; i++) {
                        $("#Div1").append("<li style='margin-left:100px;'><a style='font-family:微软雅黑;color:#666;font-size:15px;' href='Showpage.html' onclick='toURL(" + data.ResponseData.AboutArticles[i].AboutID + ")' target='rightContent'>" + data.ResponseData.AboutArticles[i].AboutName + "<a/></li>");
                    }
                    return true;
                },
                error: function (err) {
                    alert(err);
                    return false;
                }

            });
        }
        function toURL(cId) {
            share.data("SelectedArticleId", cId);
        }
    </script>
    <!--相关文章-->

</head>
<body>
    <div class="CNright">

<!--        <div class="CNaddress ">
            您的位置： <a href="Main.html" target="main">首页</a> &gt; <a href="aboutus.html">关于我们</a> &gt; 
        </div>-->
        <div>
            <table height="35" cellspacing="0" cellpadding="0" border="0">
                <tbody><tr><td></td></tr></tbody>
            </table>
            <!--标题-->
            <table  height="25" cellspacing="0" cellpadding="0" width="100%" border="0">
                <tbody>
                    <tr><td></td><td align="center"><h1><span id="Title"></span></h1></td></tr>
                </tbody>
            </table>
            <table height="30" cellspacing="0" cellpadding="0" border="0">
                <tbody><tr><td></td></tr></tbody>
            </table>
            <!--相关信息-->
            <table class="dx"  cellspacing="0" cellpadding="0" width="100%" border="0">
                <tbody><tr><td height="20" align="center">发布作者：<span id="Author"></span>&nbsp;&nbsp;&nbsp;发布时间：<span id="SubTime"></span></td></tr>
                </tbody>
            </table>
            <table height="25" cellspacing="0" cellpadding="0" border="0">
                <tbody><tr><td></td></tr></tbody>
            </table>
            <div style="font-family: YouYuan; font-size: large; text-indent: 2em; text-align: left">
                <span id="pagespan" style="margin-left:60px;"></span>
            </div>
            <table height="25" cellspacing="0" cellpadding="0" border="0">
                <tbody><tr><td></td></tr></tbody>
            </table>
            <!--相关文章-->
            <div class="Relation">
                <h2>相关文章</h2>
                <div id="Div1" class="pplist" runat="server">
                </div>
            </div>
        </div>
    </div>
</body>
</html>
